struct Solution {}

fn main() {}

impl Solution {
    pub fn min_operations(nums: Vec<i32>, k: i32) -> i32 {
        let mut ret = 0;
        for num in nums.iter() {
            if *num < k {
                ret += 1;
            }
        }
        ret
    }
}